home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / ib5204.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  11.5 KB  |  506 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "IB5204.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "IBM QuickWriter 5204"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "ib52res.dll"
  12. *PrinterType: SERIAL
  13. *FontCartSlots: 1
  14. *Feature: Orientation
  15. {
  16.     *rcNameID: =ORIENTATION_DISPLAY
  17.     *DefaultOption: PORTRAIT
  18.     *Option: PORTRAIT
  19.     {
  20.         *rcNameID: =PORTRAIT_DISPLAY
  21.     }
  22.     *Option: LANDSCAPE_CC270
  23.     {
  24.         *rcNameID: =LANDSCAPE_DISPLAY
  25.     }
  26. }
  27. *Feature: InputBin
  28. {
  29.     *rcNameID: =PAPER_SOURCE_DISPLAY
  30.     *DefaultOption: TRACTOR
  31.     *Option: TRACTOR
  32.     {
  33.         *rcNameID: =TRACTOR_DISPLAY
  34.     }
  35.     *Option: UPPER
  36.     {
  37.         *rcNameID: =UPPER_TRAY_DISPLAY
  38.         *Command: CmdSelect
  39.         {
  40.             *Order: DOC_SETUP.3
  41.             *Cmd: "<1B>[F<0300030101>"
  42.         }
  43.     }
  44.     *Option: LOWER
  45.     {
  46.         *rcNameID: =LOWER_TRAY_DISPLAY
  47.         *Command: CmdSelect
  48.         {
  49.             *Order: DOC_SETUP.3
  50.             *Cmd: "<1B>[F<0300030102>"
  51.         }
  52.     }
  53.     *Option: MANUAL
  54.     {
  55.         *rcNameID: =MANUAL_FEED_DISPLAY
  56.         *Command: CmdSelect
  57.         {
  58.             *Order: DOC_SETUP.3
  59.             *Cmd: "<1B>[F<0300010101>"
  60.         }
  61.     }
  62. }
  63. *Feature: Resolution
  64. {
  65.     *rcNameID: =RESOLUTION_DISPLAY
  66.     *DefaultOption: Option1
  67.     *Option: Option1
  68.     {
  69.         *Name: "180 x 180 " =DOTS_PER_INCH
  70.         *DPI: PAIR(180, 180)
  71.         *TextDPI: PAIR(180, 180)
  72.         *PinsPerLogPass: 24
  73.         *PinsPerPhysPass: 24
  74.         *MinStripBlankPixels: 135
  75.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76.         *SpotDiameter: 140
  77.         *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<0B>" }
  78.     }
  79.     *Option: Option2
  80.     {
  81.         *Name: "120 x 180 " =DOTS_PER_INCH
  82.         *DPI: PAIR(120, 180)
  83.         *TextDPI: PAIR(120, 180)
  84.         *PinsPerLogPass: 24
  85.         *PinsPerPhysPass: 24
  86.         *MinStripBlankPixels: 90
  87.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  88.         *SpotDiameter: 100
  89.         *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<09>" }
  90.     }
  91. }
  92. *Feature: PaperSize
  93. {
  94.     *rcNameID: =PAPER_SIZE_DISPLAY
  95.     *DefaultOption: LETTER
  96.     *Option: LETTER
  97.     {
  98.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  99.         *PrintableArea: PAIR(2948, 3960)
  100.         *PrintableOrigin: PAIR(112, 0)
  101.         *switch: Resolution
  102.         {
  103.             *case: Option2
  104.             {
  105.                 *PrintableArea: PAIR(2946, 3960)
  106.                 *PrintableOrigin: PAIR(114, 0)
  107.             }
  108.         }
  109.     }
  110.     *Option: LEGAL
  111.     {
  112.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  113.         *PrintableArea: PAIR(2948, 5040)
  114.         *PrintableOrigin: PAIR(112, 0)
  115.         *switch: Resolution
  116.         {
  117.             *case: Option2
  118.             {
  119.                 *PrintableArea: PAIR(2946, 5040)
  120.                 *PrintableOrigin: PAIR(114, 0)
  121.             }
  122.         }
  123.     }
  124.     *Option: A4
  125.     {
  126.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  127.         *PrintableArea: PAIR(2865, 4208)
  128.         *PrintableOrigin: PAIR(112, 0)
  129.         *switch: Resolution
  130.         {
  131.             *case: Option1
  132.             {
  133.                 *PrintableArea: PAIR(2864, 4208)
  134.             }
  135.             *case: Option2
  136.             {
  137.                 *PrintableArea: PAIR(2862, 4208)
  138.                 *PrintableOrigin: PAIR(114, 0)
  139.             }
  140.         }
  141.     }
  142.     *Option: A3
  143.     {
  144.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  145.         *PrintableArea: PAIR(4096, 5954)
  146.         *PrintableOrigin: PAIR(112, 0)
  147.         *switch: Resolution
  148.         {
  149.             *case: Option2
  150.             {
  151.                 *PrintableArea: PAIR(4092, 5954)
  152.                 *PrintableOrigin: PAIR(114, 0)
  153.             }
  154.         }
  155.     }
  156.     *Option: B5
  157.     {
  158.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  159.         *PrintableArea: PAIR(2469, 3643)
  160.         *PrintableOrigin: PAIR(112, 0)
  161.         *switch: Resolution
  162.         {
  163.             *case: Option1
  164.             {
  165.                 *PrintableArea: PAIR(2468, 3642)
  166.             }
  167.             *case: Option2
  168.             {
  169.                 *PrintableArea: PAIR(2466, 3642)
  170.                 *PrintableOrigin: PAIR(114, 0)
  171.             }
  172.         }
  173.     }
  174.     *Option: Option6
  175.     {
  176.         *rcNameID: 258
  177.         *PageDimensions: PAIR(2581, 4320)
  178.         *PrintableArea: PAIR(2469, 4320)
  179.         *PrintableOrigin: PAIR(112, 0)
  180.         *switch: Resolution
  181.         {
  182.             *case: Option1
  183.             {
  184.                 *PrintableArea: PAIR(2468, 4320)
  185.             }
  186.             *case: Option2
  187.             {
  188.                 *PrintableArea: PAIR(2466, 4320)
  189.                 *PrintableOrigin: PAIR(114, 0)
  190.             }
  191.         }
  192.     }
  193.     *Option: FANFOLD_US
  194.     {
  195.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  196.         *PrintableArea: PAIR(4752, 3960)
  197.         *PrintableOrigin: PAIR(112, 0)
  198.         *switch: Resolution
  199.         {
  200.             *case: Option2
  201.             {
  202.                 *PrintableArea: PAIR(4749, 3960)
  203.                 *PrintableOrigin: PAIR(114, 0)
  204.             }
  205.         }
  206.     }
  207.     *Option: CUSTOMSIZE
  208.     {
  209.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  210.         *MinSize: PAIR(360, 360)
  211.         *MaxSize: PAIR(4752, 32767)
  212.         *MaxPrintableWidth: 4752
  213.         *MinLeftMargin: 0
  214.         *CenterPrintable?: FALSE
  215.     }
  216. }
  217. *Feature: PrintQuality
  218. {
  219.     *rcNameID: =TEXT_QUALITY_DISPLAY
  220.     *DefaultOption: NEAR_LETTER_QUALITY
  221.     *Option: NEAR_LETTER_QUALITY
  222.     {
  223.         *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  224.         *Command: CmdSelect
  225.         {
  226.             *Order: DOC_SETUP.2
  227.             *Cmd: "<1B>I<02>"
  228.         }
  229.     }
  230.     *Option: DRAFT_QUALITY
  231.     {
  232.         *rcNameID: =DRAFT_QUALITY_DISPLAY
  233.         *Command: CmdSelect
  234.         {
  235.             *Order: DOC_SETUP.2
  236.             *Cmd: "<1B>I<01>"
  237.         }
  238.     }
  239. }
  240. *Feature: Halftone
  241. {
  242.     *rcNameID: =HALFTONING_DISPLAY
  243.     *DefaultOption: HT_PATSIZE_AUTO
  244.     *Option: HT_PATSIZE_AUTO
  245.     {
  246.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  247.     }
  248. *Ifdef: WINNT_50
  249.     *Option: HT_PATSIZE_SUPERCELL_M
  250.     {
  251.         *rcNameID: =HT_SUPERCELL_DISPLAY
  252.     }
  253. *Endif:
  254.     *Option: HT_PATSIZE_6x6_M
  255.     {
  256.         *rcNameID: =HT_DITHER6X6_DISPLAY
  257.     }
  258.     *Option: HT_PATSIZE_8x8_M
  259.     {
  260.         *rcNameID: =HT_DITHER8X8_DISPLAY
  261.     }
  262. }
  263. *Command: CmdStartDoc
  264. {
  265.     *Order: DOC_SETUP.1
  266.     *Cmd: "<1B>6<1B>n<021B>[\<04000000B4000D1B>2<1B>[T<0500000003>R<001B>W0<1B>I<021B>I <1B>"
  267. + "X<0184>"
  268. }
  269. *Command: CmdStartPage
  270. {
  271.     *Order: PAGE_SETUP.1
  272.     *Cmd: "<0D>"
  273. }
  274. *Command: CmdEndJob
  275. {
  276.     *Order: JOB_FINISH.1
  277.     *Cmd: "<0D>"
  278. }
  279. *RotateCoordinate?: FALSE
  280. *RotateRaster?: FALSE
  281. *RotateFont?: FALSE
  282. *switch: Orientation
  283. {
  284.     *case: PORTRAIT
  285.     {
  286.         *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_SO_ABLE,TC_RA_ABLE)
  287.     }
  288.     *case: LANDSCAPE_CC270
  289.     {
  290.         *TextCaps: LIST(TC_RA_ABLE)
  291.     }
  292. }
  293. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  294. *YMoveAttributes: LIST(SEND_CR_FIRST)
  295. *XMoveThreshold: *
  296. *YMoveThreshold: *
  297. *XMoveUnit: 120
  298. *YMoveUnit: 180
  299. *Command: CmdXMoveRelRight { *Cmd : "<1B>d" %l{(DestXRel / 3) } }
  300. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  301. *Command: CmdCR { *Cmd : "<0D>" }
  302. *Command: CmdLF { *Cmd : "<0A>" }
  303. *Command: CmdFF { *Cmd : "<0C>" }
  304. *Command: CmdBackSpace { *Cmd : "<08>" }
  305. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<00>" }
  306. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<01>" }
  307. *EjectPageWithFF?: FALSE
  308. *switch: InputBin
  309. {
  310.     *case: MANUAL
  311.     {
  312.         *EjectPageWithFF?: TRUE
  313.     }
  314. }
  315. *OutputDataFormat: V_BYTE
  316. *OptimizeLeftBound?: FALSE
  317. *CursorXAfterSendBlockData: AT_GRXDATA_END
  318. *CursorYAfterSendBlockData: NO_MOVE
  319. *DefaultFont: 2
  320. *DefaultCTT: 0
  321. *switch: Orientation
  322. {
  323.     *case: PORTRAIT
  324.     {
  325.         *DeviceFonts: LIST(1,2,3,4)
  326.     }
  327.     *case: LANDSCAPE_CC270
  328.     {
  329.         *DeviceFonts: LIST()
  330.     }
  331. }
  332. *FontCartridge: FC1
  333. {
  334.     *rcCartridgeNameID: 259
  335.     *PortraitFonts: LIST(12,15,16,18,19,20,21,22)
  336.     *LandscapeFonts: LIST()
  337. }
  338. *FontCartridge: FC2
  339. {
  340.     *rcCartridgeNameID: 260
  341.     *PortraitFonts: LIST(6,8,9,11,14,17,23,25)
  342.     *LandscapeFonts: LIST()
  343. }
  344. *FontCartridge: FC3
  345. {
  346.     *rcCartridgeNameID: 261
  347.     *PortraitFonts: LIST(27,28,29,30,32,34)
  348.     *LandscapeFonts: LIST()
  349. }
  350. *FontCartridge: FC4
  351. {
  352.     *rcCartridgeNameID: 262
  353.     *PortraitFonts: LIST(5,7,10,13,24,26,31,33)
  354.     *LandscapeFonts: LIST()
  355. }
  356. *FontCartridge: FC5
  357. {
  358.     *rcCartridgeNameID: 263
  359.     *PortraitFonts: LIST(19)
  360.     *LandscapeFonts: LIST()
  361. }
  362. *FontCartridge: FC6
  363. {
  364.     *rcCartridgeNameID: 264
  365.     *PortraitFonts: LIST()
  366.     *LandscapeFonts: LIST()
  367. }
  368. *FontCartridge: FC7
  369. {
  370.     *rcCartridgeNameID: 265
  371.     *PortraitFonts: LIST()
  372.     *LandscapeFonts: LIST()
  373. }
  374. *FontCartridge: FC8
  375. {
  376.     *rcCartridgeNameID: 266
  377.     *PortraitFonts: LIST(24)
  378.     *LandscapeFonts: LIST()
  379. }
  380. *FontCartridge: FC9
  381. {
  382.     *rcCartridgeNameID: 267
  383.     *PortraitFonts: LIST(21)
  384.     *LandscapeFonts: LIST()
  385. }
  386. *FontCartridge: FC10
  387. {
  388.     *rcCartridgeNameID: 268
  389.     *PortraitFonts: LIST(23)
  390.     *LandscapeFonts: LIST()
  391. }
  392. *FontCartridge: FC11
  393. {
  394.     *rcCartridgeNameID: 269
  395.     *PortraitFonts: LIST(18)
  396.     *LandscapeFonts: LIST()
  397. }
  398. *FontCartridge: FC12
  399. {
  400.     *rcCartridgeNameID: 270
  401.     *PortraitFonts: LIST(20)
  402.     *LandscapeFonts: LIST()
  403. }
  404. *FontCartridge: FC13
  405. {
  406.     *rcCartridgeNameID: 271
  407.     *PortraitFonts: LIST(25)
  408.     *LandscapeFonts: LIST()
  409. }
  410. *FontCartridge: FC14
  411. {
  412.     *rcCartridgeNameID: 272
  413.     *PortraitFonts: LIST(22)
  414.     *LandscapeFonts: LIST()
  415. }
  416. *FontCartridge: FC15
  417. {
  418.     *rcCartridgeNameID: 273
  419.     *PortraitFonts: LIST(28)
  420.     *LandscapeFonts: LIST()
  421. }
  422. *FontCartridge: FC16
  423. {
  424.     *rcCartridgeNameID: 274
  425.     *PortraitFonts: LIST()
  426.     *LandscapeFonts: LIST()
  427. }
  428. *FontCartridge: FC17
  429. {
  430.     *rcCartridgeNameID: 275
  431.     *PortraitFonts: LIST(26)
  432.     *LandscapeFonts: LIST()
  433. }
  434. *FontCartridge: FC18
  435. {
  436.     *rcCartridgeNameID: 276
  437.     *PortraitFonts: LIST(30)
  438.     *LandscapeFonts: LIST()
  439. }
  440. *FontCartridge: FC19
  441. {
  442.     *rcCartridgeNameID: 277
  443.     *PortraitFonts: LIST(33)
  444.     *LandscapeFonts: LIST()
  445. }
  446. *FontCartridge: FC20
  447. {
  448.     *rcCartridgeNameID: 278
  449.     *PortraitFonts: LIST(38)
  450.     *LandscapeFonts: LIST()
  451. }
  452. *FontCartridge: FC21
  453. {
  454.     *rcCartridgeNameID: 279
  455.     *PortraitFonts: LIST(39)
  456.     *LandscapeFonts: LIST()
  457. }
  458. *FontCartridge: FC22
  459. {
  460.     *rcCartridgeNameID: 280
  461.     *PortraitFonts: LIST(40)
  462.     *LandscapeFonts: LIST()
  463. }
  464. *FontCartridge: FC23
  465. {
  466.     *rcCartridgeNameID: 281
  467.     *PortraitFonts: LIST(32)
  468.     *LandscapeFonts: LIST()
  469. }
  470. *FontCartridge: FC24
  471. {
  472.     *rcCartridgeNameID: 282
  473.     *PortraitFonts: LIST(36)
  474.     *LandscapeFonts: LIST()
  475. }
  476. *FontCartridge: FC25
  477. {
  478.     *rcCartridgeNameID: 283
  479.     *PortraitFonts: LIST(27)
  480.     *LandscapeFonts: LIST()
  481. }
  482. *FontCartridge: FC26
  483. {
  484.     *rcCartridgeNameID: 284
  485.     *PortraitFonts: LIST(31)
  486.     *LandscapeFonts: LIST()
  487. }
  488. *FontCartridge: FC27
  489. {
  490.     *rcCartridgeNameID: 285
  491.     *PortraitFonts: LIST(41)
  492.     *LandscapeFonts: LIST()
  493. }
  494. *FontCartridge: FC28
  495. {
  496.     *rcCartridgeNameID: 286
  497.     *PortraitFonts: LIST(35)
  498.     *LandscapeFonts: LIST()
  499. }
  500. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  501. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  502. *Command: CmdStrikeThruOn { *Cmd : "<1B>_<01>" }
  503. *Command: CmdStrikeThruOff { *Cmd : "<1B>_<00>" }
  504. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P<01>" }
  505. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P<00>" }
  506.